<?php
include_once("../../service/productService.php");
include_once("../../util/constant.php");

$status = $_POST["status"];
$proId = $_POST["proId"];

if(updateProductStatus($proId, $status)) echo UPDATE_SUCCESSFULLY;
else echo UPDATE_SUCCESSFULLY;
?>